﻿using Newtonsoft.Json;
using System.ComponentModel.DataAnnotations;

namespace english_sentences.Models
{
    public class TokenViewModel
    {
        [JsonProperty("access_token")]
        [Required]
        public string AccessToken { get; set; }
        [Required]
        [JsonProperty("refresh_token")]
        public string RefreshToken { get; set; }

        // [JsonProperty("access_token_expiration")]
        // public DateTime AccessTokenExpiration { get; set; }
        // public string? UserName { get; set; }

        // public IEnumerable<string>? Roles { get; set; }
        // public string? Avatar { get; internal set; }
        // public string? FullName { get; internal set; }
    }
}
